<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>向日葵开发工具下载</title>
    <link rel="stylesheet" th:href="@{/css/styles.css}">
</head>
<body class="header-flex">
<div th:replace="~{fragments/header :: header}"></div>
<div class="container">
    <div class="category-info">
        <div class="tool-icon">
            <svg width="40" height="40" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"
                      stroke="#666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                <path d="M19.4 15C19.2669 15.3016 19.1699 15.6183 19.111 15.9432C19.0521 16.2681 19.032 16.5982 19.0512 16.9272C19.0704 17.2562 19.1287 17.5811 19.2245 17.8939C19.3203 18.2067 19.4527 18.5045 19.6184 18.7801C19.7841 19.0557 19.9815 19.3067 20.2058 19.527C20.4301 19.7473 20.6793 19.935 20.947 20.0855C21.2147 20.236 21.4984 20.3479 21.7908 20.4184C22.0832 20.4889 22.3815 20.5174 22.6796 20.5032C22.9777 20.489 23.2727 20.4322 23.556 20.3344C23.8393 20.2366 24.1083 20.0988 24.3556 19.9251C24.6029 19.7514 24.8261 19.5435 25.0188 19.3076C25.2115 19.0717 25.3719 18.8102 25.4954 18.5306C25.6189 18.251 25.7043 17.9561 25.749 17.6546C25.7937 17.3531 25.7973 17.048 25.7596 16.7466"
                      stroke="#666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
                <path d="M4.6 15C4.73312 15.3016 4.8301 15.6183 4.889 15.9432C4.9479 16.2681 4.968 16.5982 4.94883 16.9272C4.92966 17.2562 4.87135 17.5811 4.77552 17.8939C4.67969 18.2067 4.54732 18.5045 4.3816 18.7801C4.21588 19.0557 4.01852 19.3067 3.79422 19.527C3.56992 19.7473 3.32072 19.935 3.05301 20.0855C2.7853 20.236 2.50163 20.3479 2.20921 20.4184C1.91679 20.4889 1.61852 20.5174 1.32039 20.5032C1.02227 20.489 0.727298 20.4322 0.443996 20.3344C0.160694 20.2366 -0.108323 20.0988 -0.355608 19.9251C-0.602892 19.7514 -0.826078 19.5435 -1.01881 19.3076C-1.21153 19.0717 -1.37188 18.8102 -1.49539 18.5306C-1.6189 18.251 -1.70428 17.9561 -1.749 17.6546C-1.79372 17.3531 -1.79732 17.048 -1.75964 16.7466"
                      stroke="#666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
            </svg>
        </div>
        <div class="header-content">
            <h1>向日葵开发工具</h1>
            <p>
                向日葵开发工具哪个好？向日葵中文网下载站特为向日葵新手推荐了目前最新、下载排名靠前的一些向日葵开发工具软件、服务器工具软件及其它软件工具供开发者免费下载使用！这些软件中包含Windows版和Mac版！</p>
            <p class="update-time">2021-3-20 11:50:20</p>
        </div>
    </div>

    <div class="tools-section" th:each="category : ${categories}">
        <div class="section-header">
            <h2 th:text="${category.categoryName}">分类名称</h2>
            <a href="#">更多></a>
        </div>
        <div class="tools-grid">
            <div class="tool-card" th:each="soft : ${softsByCategory.get(category.id)}">
                <img th:src="${soft.icon}" alt="软件图标">
                <h3 th:text="${soft.softName}">软件名称</h3>
                <p th:text="${soft.description}">软件描述</p>
                <a th:href="@{/soft/{id}(id=${soft.id})}">查看详情</a>
            </div>
        </div>
    </div>
</div>
</body>
</html>
